textbuffer: Do not unset selection if failing to update the primary selection
authorCarlos Garnacho <carlosg@gnome.org>
Wed, 2 Jul 2014 13:28:45 +0000 (15:28 +0200)
committerCarlos Garnacho <carlosg@gnome.org>
Wed, 2 Jul 2014 16:57:39 +0000 (18:57 +0200)
commit67efefde499d683707050d456846c98527df0ac4
treef59e6231a191e914c8eeace44cb384b295b9398f
parent8116e3e7b9de16481ad86c695a33578a7c0393aa
textbuffer: Do not unset selection if failing to update the primary selection

This is expected to happen on wayland and other platforms with no primary selection,
and just leads to the selected text being cleared after any attempt to change the
text selection itself through either mouse/keyboard.
gtk/gtktextbuffer.c